package com.kds.fxtool.dto;

import com.google.gson.annotations.SerializedName;

public class VersionInfoDto {
    
    @SerializedName("version")
    private String version;
    
    @SerializedName("downloadUrl")
    private String downloadUrl;
    
    @SerializedName("releaseNotes")
    private String releaseNotes;
    
    @SerializedName("mandatory")
    private boolean mandatory;
    
    // 默认构造函数
    public VersionInfoDto() {}
    
    // 全参构造函数
    public VersionInfoDto(String version, String downloadUrl, String releaseNotes, boolean mandatory) {
        this.version = version;
        this.downloadUrl = downloadUrl;
        this.releaseNotes = releaseNotes;
        this.mandatory = mandatory;
    }
    
    // Getters and Setters
    public String getVersion() { return version; }
    public void setVersion(String version) { this.version = version; }
    
    public String getDownloadUrl() { return downloadUrl; }
    public void setDownloadUrl(String downloadUrl) { this.downloadUrl = downloadUrl; }
    
    public String getReleaseNotes() { return releaseNotes; }
    public void setReleaseNotes(String releaseNotes) { this.releaseNotes = releaseNotes; }
    
    public boolean isMandatory() { return mandatory; }
    public void setMandatory(boolean mandatory) { this.mandatory = mandatory; }
}